public class Dog extends Organism{
    //空参 + 实参
    public Dog(){}
    public Dog(String name,String species,int age){
        super(name, species, age);
    }

    @Override
    public void action()//行为
    {
        System.out.println(this.getname() + "在啃骨头\n");
    }

    public void voice()//声音
    {
        System.out.println("嗷呜~~~汪！");
    }
}
